<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
     <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>收获信息及发货</title>
    <link rel="stylesheet" href="../frame/layui/css/layui.css">
    <link rel="stylesheet" href="../frame/static/css/style.css">
    <link rel="icon" href="../frame/static/image/code.png">
</head>
<body class="body">
	<form class="layui-form" action="../business/insertBusiness.action" method="post">
		　　　　　　　<h1 style="">确认收货信息及详情</h1><br>
	    <div class="layui-form-item">
	        <label class="layui-form-label">订单编号</label>
	        <div class="layui-input-block">
	            <input type="text" name="orderNumber" lay-verify="title" autocomplete="off" class="layui-input" value="${order.orderNumber}">
	        </div>
	    </div>
	    <div class="layui-form-item">
	        <label class="layui-form-label">订单时间</label>
	        <div class="layui-input-block">
	            <input type="text" name="creatTime" lay-verify="title" autocomplete="off" class="layui-input" value="${order.creatTime}">
	        </div>
	    </div>
	     <div class="layui-form-item">
	        <label class="layui-form-label">收件人姓名</label>
	        <div class="layui-input-block">
	            <input type="text" name="addressName" lay-verify="title" autocomplete="off" class="layui-input" value="${address.addressName}">
	        </div>
	    </div>
	    <div class="layui-form-item">
	        <label class="layui-form-label">收件人手机号</label>
	        <div class="layui-input-block">
	            <input type="text" name="addressPhone" lay-verify="title" autocomplete="off" class="layui-input" value="${address.addressPhone}">
	        </div>
	    </div>
	    <div class="layui-form-item">
	        <label class="layui-form-label">收件人地址</label>
	        <div class="layui-input-block">
	            <input type="text" name="address" lay-verify="title" autocomplete="off" class="layui-input" value="${address.address}">
	        </div>
	    </div>
	    <div class="layui-form-item">
	        <label class="layui-form-label">买家姓名</label>
	        <div class="layui-input-block">
	            <input type="text" name="customerName" lay-verify="title" autocomplete="off" class="layui-input" value="${customer.customerName}">
	        </div>
	    </div>
	    <strong><hr></strong>
	    <h1>选择物流服务信息</h1>
	   <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
    <ul class="layui-tab-title">
        <li class="layui-this">在线下单</li>
        <li>无需物流</li>
    </ul>
    <div class="layui-tab-content" style="height: 100px;">
        <div class="layui-tab-item layui-show"> <div class="layui-form-item">
        <div class="layui-input-block">
            <select name="kuaidi" lay-filter="aihao">
                <option value=""></option>
                <option value="中通快递">中通快递</option>
                <option value="顺风快递" selected="selected">顺风快递</option>
                <option value="百世快递">百世快递</option>
                <option value="韵达快递">韵达快递</option>
                <option value="申通快递">申通快递</option>
                <option value="天天快递">天天快递</option>
                <option value="邮政快递">邮政快递</option>
                <option value="圆通快递">圆通快递</option>
       		</select>
        </div>
    </div></div>
        <div class="layui-tab-item">自取</div>
    </div>
</div>
     <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit="" lay-filter="demo1">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
	</form>
	<script src="../frame/layui/layui.js" charset="utf-8"></script>
<script>
	
    layui.use(['form', 'layedit', 'laydate'], function(){
        var form = layui.form
                ,layer = layui.layer
                ,layedit = layui.layedit
                ,laydate = layui.laydate;
        //创建一个编辑器
        var editIndex = layedit.build('LAY_demo_editor');
        //监听指定开关
        form.on('switch(switchTest)', function(data){
            layer.msg('开关checked：'+ (this.checked ? 'true' : 'false'), {
                offset: '6px'
            });
            layer.tips('温馨提示：请注意开关状态的文字可以随意定义，而不仅仅是ON|OFF', data.othis)
        });
        
    });
</script>
<script type="text/javascript" src="../frame/layui/layui.js"></script>
<script type="text/javascript">
    layui.use('element', function () {
        var $ = layui.jquery
                , element = layui.element;

        //触发事件
        var active = {
            tabAdd: function () {
                //新增一个Tab项
                element.tabAdd('demo', {
                    title: '新选项' + (Math.random() * 1000 | 0) //用于演示
                    , content: '内容' + (Math.random() * 1000 | 0)
                })
            }
            , tabDelete: function () {
                //删除指定Tab项
                element.tabDelete('demo', 2); //删除第3项（注意序号是从0开始计算）
            }
            , tabChange: function () {
                //切换到指定Tab项
                element.tabChange('demo', 1); //切换到第2项（注意序号是从0开始计算）
            }
        };

        $('.site-demo-active').on('click', function () {
            var type = $(this).data('type');
            active[type] ? active[type].call(this) : '';
        });

        // you code ...


    });
</script>       
</body>
</html>